#include "sort.hpp"
#include <iostream>

void InsertSortTest()
{
   std::vector<int> nums { 1, 3, 5, 2, 4, 6, -2, -1 };
   InsertSort(nums);
   for (const auto e : nums) {
      std::cout << e << std::endl;
   }
}

void ShellSortTest()
{
   std::vector<int> nums { 1, 3, 5, 2, 4, 6, -2, -1 };
   ShellSort(nums);
   for (const auto e : nums) {
      std::cout << e << std::endl;
   }
}

void SelectSortTest()
{
   std::vector<int> nums { 1, 3, 5, 2, 4, 6, -2, -1 };
   SelectSort(nums);
   for (const auto e : nums) {
      std::cout << e << std::endl;
   }
}

int main()
{
   // InsertSortTest();
   // ShellSortTest();
   SelectSortTest();
   return 0;
}
